home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 3 / Info_Mac_1994-01.iso / Development / Source / MultiSession 1.04 Source / Core 27⁄June⁄1993 / CEnclosure.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-06-12  |  941 b   |  34 lines  |  [TEXT/KAHL]

  1. /* CEnclosure.h */
  2.  
  3. #pragma once
  4.  
  5. #include "CViewRect.h"
  6.  
  7. /* forwards */
  8. class CSack;
  9. class CEnclosure;
  10.  
  11. struct CEnclosure    :    CViewRect
  12.     {
  13.         CSack*            ListOfObjects;
  14.         EXECUTE(MyBoolean Initialized;)
  15.  
  16.         /* */            CEnclosure();
  17.         /* */            ~CEnclosure();
  18.         void            IEnclosure(LongPoint Start, LongPoint Extent,
  19.                                 CWindow* TheWindow, CEnclosure* TheEnclosure);
  20.         void            RegisterViewRect(CViewRect* TheViewRect);
  21.         void            DeregisterViewRect(CViewRect* TheViewRect);
  22.         void            DoMouseDown(MyEventRec Event);
  23.         MyBoolean    DoKeyDown(MyEventRec Event);
  24.         MyBoolean    DoMouseMoved(MyEventRec Event);
  25.         void            DoUpdate(void);
  26.         void            DoSuspend(void);
  27.         void            DoResume(void);
  28.         MyBoolean    DoMenuCommand(ushort MenuCommandValue);
  29.         void            EnableMenuItems(void);
  30.         void            RecalcLocations(LongPoint EnclosureVisRectStart,
  31.                                 LongPoint EnclosureVisRectExtent, LongPoint EnclosureOrigin);
  32.         void            DoEnclosureResized(LongPoint EnclosureExtentAdjust);
  33.     };
  34.